package com.gmail.bernabe.laurent.java_swing.rubik_cube_edi.ihm;

import javax.swing.JInternalFrame;

public class RubikCubeEDIInternalFrame  extends JInternalFrame {

	public RubikCubeEDIInternalFrame(int instanceNumber){
		this(instanceNumber, 0,0);
	}
	
	public RubikCubeEDIInternalFrame(int instanceNumber, int locationX, int locationY){
		super("Rubik view "+instanceNumber, true, true, true, true);
		setLocation(locationX, locationY);
		setSize(300, 300);
		getContentPane().add(rubik);
		setVisible(true);
	}
	
	private Rubik rubik = new Rubik(300, 300, "00FF00");
	
	private static final long serialVersionUID = 1L;
	
}
